package com.feicheng.service;

import com.feicheng.common.result.ResultInfo;
import com.feicheng.persistence.entity.Distributor;

public interface IFDistributorService {

    ResultInfo newDistributor(Distributor distributor);

    ResultInfo updateDistributor(Distributor distributor);

    ResultInfo getDistributorByPage(Integer current, Integer size, Distributor distributor);

    ResultInfo checkAccountEx(String account);

    ResultInfo getDistributor(Distributor distributor);

    ResultInfo checkPermission(String account, String password);
}
